10 REM this program prints all of the users in conference and main users
20 REM files as listed in the file USRFILES.DEF Also, as an option, this
30 REM program will reassign security levels for uploads as per the
40 REM following table:
42 REM
44 REM # Uploads Security Level Assigned
46 REM 0-1 5
47 REM 2-3 6
48 REM 4-5 7
49 REM 6-7 8
50 REM 8-9 9
51 REM 10+ 10
52 REM
53 REM If a users security level is already higher that the security level
54 REM as assigned above, it will not change. Also, if a user has been
55 REM assigned a security level less than 5, his security level will not
56 REM change. Security levels are only modified for the USERS file (ie -
57 REM not for the conference users) and only if Y or y is given as a response
58 REM to the prompt for security level modification.
60 REM
80 DIM USFILES$(100) '100 msg files max!
90 LPP=66 'Number of lines per page
100 CLS:PRINT "RBBS-PC User File Printer":PRINT:PRINT
105 CHANGESECURITY=0:LINE INPUT "Would you line the security levels modified based on uploads [N] ";A$:IF LEFT$(A$,1)="Y" OR LEFT$(A$,1)="y" THEN CHANGESECURITY=-1
110 PRINT:LINE INPUT "Turn on the printer - Hit return when ready.......";A$
120 ON ERROR GOTO 350
130 OPEN "USRFILES.DEF" FOR INPUT AS #1
140 J=0
150 ON ERROR GOTO 0
160 IF EOF(1) THEN 200 'read the file names
170 J=J+1
180 LINE INPUT #1,USFILES$(J)
190 GOTO 160
200 CLOSE #1:IF J=0 GOTO 360
210 FOR K=1 TO J
240 INFILE$=USFILES$(K)
245 IF INFILE$="" GOTO 280
250 GOSUB 380
260 LINES=LINES+1:GOSUB 880
280 NEXT K 'loop till done
320 LINES=1:GOSUB 880:GOSUB 880
330 PRINT:PRINT:PRINT" Program finished successfully.......":PRINT:END